<template>
    <div>
        <show-files :fileList="fileList" label="nodeName" children="children"></show-files>
    </div>
</template>

<script>
import ShowFiles from "@/components/ShowFiles/ShowFiles";
export default {
    components: {
        ShowFiles,
    },
    data() {
        return {
            fileList: [
                {
                    nodeID: "01",
                    nodePID: "",
                    nodeName: "项目申请(2)",
                    attachmentCode: "",
                    nodeLevel: 1,
                    filePath: null,
                    children: [
                        {
                            nodeID: "0102",
                            nodePID: "01",
                            nodeName: "准入资质类(2)",
                            attachmentCode: "",
                            nodeLevel: 2,
                            filePath: null,
                            children: [
                                {
                                    nodeID: "010201",
                                    nodePID: "0102",
                                    nodeName: "(201)借款人夫妻双方身份证(1)",
                                    attachmentCode: "201",
                                    nodeLevel: 3,
                                    filePath: null,
                                    children: null,
                                    required: 0,
                                    uploadFlowCode: 0,
                                    createDocFlowCode: null,
                                    signDocFlowCode: null,
                                    autoSignFlowCode: null,
                                    sum: null,
                                    createDocFlowCodeList: null,
                                    mustUpload: null,
                                    fileCount: 1,
                                    mustFlowCode: null,
                                    productCode: null,
                                    showFlowCode: null,
                                },
                                {
                                    nodeID: "010202",
                                    nodePID: "0102",
                                    nodeName: "(202)借款人户口本、结婚证(1)",
                                    attachmentCode: "202",
                                    nodeLevel: 3,
                                    filePath: null,
                                    children: null,
                                    required: 0,
                                    uploadFlowCode: 0,
                                    createDocFlowCode: null,
                                    signDocFlowCode: null,
                                    autoSignFlowCode: null,
                                    sum: null,
                                    createDocFlowCodeList: null,
                                    mustUpload: null,
                                    fileCount: 1,
                                    mustFlowCode: null,
                                    productCode: null,
                                    showFlowCode: null,
                                },
                            ],
                            required: 0,
                            uploadFlowCode: 0,
                            createDocFlowCode: null,
                            signDocFlowCode: null,
                            autoSignFlowCode: null,
                            sum: null,
                            createDocFlowCodeList: null,
                            mustUpload: null,
                            fileCount: 2,
                            mustFlowCode: null,
                            productCode: null,
                            showFlowCode: null,
                        },
                    ],
                    required: 0,
                    uploadFlowCode: 0,
                    createDocFlowCode: null,
                    signDocFlowCode: null,
                    autoSignFlowCode: null,
                    sum: null,
                    createDocFlowCodeList: null,
                    mustUpload: null,
                    fileCount: 2,
                    mustFlowCode: null,
                    productCode: null,
                    showFlowCode: null,
                },
                {
                    nodeID: "02",
                    nodePID: "",
                    nodeName: "项目审批(0)",
                    attachmentCode: "",
                    nodeLevel: 1,
                    filePath: null,
                    children: [],
                    required: 0,
                    uploadFlowCode: 0,
                    createDocFlowCode: null,
                    signDocFlowCode: null,
                    autoSignFlowCode: null,
                    sum: null,
                    createDocFlowCodeList: null,
                    mustUpload: null,
                    fileCount: 0,
                    mustFlowCode: null,
                    productCode: null,
                    showFlowCode: null,
                },
                {
                    nodeID: "09",
                    nodePID: "",
                    nodeName: "批次附件(2)",
                    attachmentCode: "",
                    nodeLevel: 1,
                    filePath: null,
                    children: [
                        {
                            nodeID: "0913",
                            nodePID: "09",
                            nodeName: "(913)提请放款通知书（扶贫）(1)",
                            attachmentCode: "913",
                            nodeLevel: 2,
                            filePath: null,
                            children: null,
                            required: 0,
                            uploadFlowCode: 0,
                            createDocFlowCode: null,
                            signDocFlowCode: null,
                            autoSignFlowCode: null,
                            sum: null,
                            createDocFlowCodeList: null,
                            mustUpload: null,
                            fileCount: 1,
                            mustFlowCode: null,
                            productCode: null,
                            showFlowCode: null,
                        },
                        {
                            nodeID: "0952",
                            nodePID: "09",
                            nodeName: "(101)待核保贷款客户情况表(1)",
                            attachmentCode: "101",
                            nodeLevel: 2,
                            filePath: null,
                            children: null,
                            required: 0,
                            uploadFlowCode: 0,
                            createDocFlowCode: null,
                            signDocFlowCode: null,
                            autoSignFlowCode: null,
                            sum: null,
                            createDocFlowCodeList: null,
                            mustUpload: null,
                            fileCount: 1,
                            mustFlowCode: null,
                            productCode: null,
                            showFlowCode: null,
                        },
                    ],
                    required: 0,
                    uploadFlowCode: 0,
                    createDocFlowCode: null,
                    signDocFlowCode: null,
                    autoSignFlowCode: null,
                    sum: null,
                    createDocFlowCodeList: null,
                    mustUpload: null,
                    fileCount: 2,
                    mustFlowCode: null,
                    productCode: null,
                    showFlowCode: null,
                },
                {
                    nodeID: "10",
                    nodePID: "",
                    nodeName: "补充附件(0)",
                    attachmentCode: "",
                    nodeLevel: 1,
                    filePath: null,
                    children: [],
                    required: 0,
                    uploadFlowCode: 0,
                    createDocFlowCode: null,
                    signDocFlowCode: null,
                    autoSignFlowCode: null,
                    sum: null,
                    createDocFlowCodeList: null,
                    mustUpload: null,
                    fileCount: 0,
                    mustFlowCode: null,
                    productCode: null,
                    showFlowCode: null,
                },
            ],
        };
    },
};
</script>

<style>
</style>